package com.example.messagingrabbitmq.dto;

import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @Description
 * @Author benjamin
 * @Date 2020/3/11 16:57
 * @Version
 */
@Data
@Accessors(chain = true)
public class User implements Serializable {


    public User(String name, Integer age) {
        this.name = name;
        this.age = age;
    }

    private  String name;

    private Integer age;


}
